package com.qujia.integral.service;

import java.util.List;

import com.qujia.integral.domain.CustomerPointsRecord;
import com.qujia.integral.domain.vo.CustomerPointsRecordReqVo;
import com.qujia.integral.domain.vo.CustomerPointsRecordResVo;

/**
 * 客户积分记录Service接口
 *
 * @author qujia
 * @date 2021-03-17
 */
public interface ICustomerPointsRecordService
{
    /**
     * 查询客户积分记录
     *
     * @param id 客户积分记录ID
     * @return 客户积分记录
     */
    public CustomerPointsRecord selectCustomerPointsRecordById(Long id);

    /**
     * 查询客户积分记录列表
     *
     * @param customerPointsRecord 客户积分记录
     * @return 客户积分记录集合
     */
    public List<CustomerPointsRecord> selectCustomerPointsRecordList(CustomerPointsRecord customerPointsRecord);

    /**
     * 新增客户积分记录
     *
     * @param customerPointsRecord 客户积分记录
     * @return 结果
     */
    public int insertCustomerPointsRecord(CustomerPointsRecord customerPointsRecord);

    /**
     * 修改客户积分记录
     *
     * @param customerPointsRecord 客户积分记录
     * @return 结果
     */
    public int updateCustomerPointsRecord(CustomerPointsRecord customerPointsRecord);

    /**
     * 批量删除客户积分记录
     *
     * @param ids 需要删除的客户积分记录ID
     * @return 结果
     */
    public int deleteCustomerPointsRecordByIds(Long[] ids);

    /**
     * 删除客户积分记录信息
     *
     * @param id 客户积分记录ID
     * @return 结果
     */
    public int deleteCustomerPointsRecordById(Long id);

    List<CustomerPointsRecord> selectList(CustomerPointsRecord record);

    CustomerPointsRecord getOne(CustomerPointsRecord record);

    void wxgzhIntegralPush(CustomerPointsRecord record);

    /**
     * 查询客户积分明细列表
     *
     * @param customerPointsRecord 筛选条件
     * @return 客户积分记录集合
     */
    CustomerPointsRecordResVo selectCustomerPointsRecordDetailList(CustomerPointsRecordReqVo customerPointsRecord);

}
